<me:UIQUL x:Class="WPFExcelReport.SYHQL"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                     xmlns:me="clr-namespace:WPFExcelReport"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                   xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS"  
                     FontSize="18"
                     x:Name="TV"
                    Loaded="Window_Loaded">
    <me:UIQUL.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:TextTrimmingConverter x:Key="trim"/>
    </me:UIQUL.Resources>
    <Grid Visibility="{Binding IsSYH,ElementName=TV,Converter={StaticResource bv}}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>

        </Grid.RowDefinitions>
        <WrapPanel>
            <me:KB245 LMS="1A" QUALITY="{Binding QUALITY,ElementName=TV}"
                        Margin="5,0,0,0"     />
            <me:KB245 LMS="1B" QUALITY="{Binding QUALITY,ElementName=TV}"
                           Margin="5,0,0,0" />
            <me:KB245 LMS="1C" QUALITY="{Binding QUALITY,ElementName=TV}"
                           Margin="5,0,0,0" />
            <me:KB245 LMS="1D" QUALITY="{Binding QUALITY,ElementName=TV}"
                          Margin="5,0,0,0" />
        </WrapPanel>

    </Grid>
</me:UIQUL>
